@charset "UTF-8";
html,
body {
  background-image: url(../image/fg1.png);
  background-repeat: repeat-y;
  background-size: 100%;
  background-position: 0px -200px;
  position: relative;
  font-family: "microsoft yahei", Verdana, Arial, 微软雅黑;
}

.box {
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.container {
  margin: 0px auto;
  width: 1080px;
}

.header {
  height: 110px;
  position: relative;
}

.header img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  position: absolute;
  left: 180px;
  top: 10px;
}

.header .nickname {
  color: #B55E11;
  position: absolute;
  left: 250px;
  top: 30px;
  font-size: 18px;
  cursor: pointer;
}

.header .exit {
  position: absolute;
  left: 330px;
  top: 35px;
  cursor: pointer;
}

.header .exit:hover {
  color: #cfad12;
}

nav {
  background: #DDD04D;
  background: rgba(221, 208, 77, 0.9);
  position: relative;
}

nav marquee {
  position: absolute;
  width: 300px;
  left: 190px;
  top: 10px;
  font-size: 16px;
  color: #232B6A;
}

nav .nav {
  height: 42px;
  font-size: 18px;
  color: #B55E11;
  position: relative;
}

nav .nav li a {
  position: absolute;
  z-index: 1;
  display: inline-block;
  line-height: 42px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  line-height: 100px;
  text-align: left;
  padding-left: 10px;
  font-weight: 600;
  font-size: 14px;
  color: #B55E11;
  animation: diarycon 5s infinite alternate;
}

nav .nav li:nth-of-type(1) a {
  left: 670px;
  top: -32px;
  background: #232B6A;
  padding-left: 20px;
}

nav .nav li:nth-of-type(2) a {
  left: 730px;
  top: -32px;
  background: #B2C9AC;
}

nav .nav li:nth-of-type(3) a {
  left: 801px;
  top: -32px;
  background: #E6E299;
}

nav .nav li:nth-of-type(4) a {
  left: 870px;
  top: -32px;
  padding-left: 15px;
  background: #D9A748;
}

nav .nav li:nth-of-type(5) a {
  left: 935px;
  top: -32px;
  background: #DFD051;
  padding-left: 15px;
}

nav .nav li a:hover {
  cursor: pointer;
  background: #B55E11;
  color: #DDD04D;
}

nav .nav li:hover a {
  color: #DDD04D;
}

footer {
  width: 100%;
  height: 60px;
  line-height: 60px;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  overflow: hidden;
  color: #cfad12;
  font-weight: 600;
}

@keyframes diarycon {
  0% {
    box-shadow: 0px 0px 6px 1px #d8d8c6;
  }
  25% {
    box-shadow: 0px 0px 10px 1px #dddcae;
  }
  50% {
    box-shadow: 0px 0px 12px 1px #d6d328;
  }
  75% {
    box-shadow: 0px 0px 10px 1px #d6d32d;
  }
  100% {
    box-shadow: 0px 0px 6px 1px #dddcae;
  }
}
